package com.action.gulimall.order.service.feign;

import com.action.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author sl shilun217@qq.com
 * @Deacription TODO
 * @date 2021/07/03/21:54
 **/
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @GetMapping(value = "/product/spuinfo/skuId/{skuId}")
    R getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);
}
